using System;
using System.Collections.Generic;

namespace Catastrophe.AutoSulution.TaskM
{
	/// <summary>
	/// 任务监控信息
	/// </summary>
	public class TaskModeMonitorInfo
	{
		/// <summary>
		/// 执行任务的方法名称
		/// </summary>
		public string MethodName { get; set; }

		/// <summary>
		/// 索引格式化
		/// </summary>
		public string IndexFormat { get; set; }

		/// <summary>
		/// 任务标题格式化
		/// </summary>
		public string TittleFormat { get; set; }

		/// <summary>
		/// 标题
		/// </summary>
		public string Tittle { get; set; }

		/// <summary>
		/// 条件实体信息
		/// </summary>
		public Dictionary<string, ConditionEntity> DicCondition { get; set; }

		/// <summary>
		/// 总结信息使用When的时候添加
		/// </summary>
		public string Summary { get; set; } = "";


		/// <summary>
		/// 时间戳
		/// </summary>
		public string TimeStamp { get; set; } = DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss:fff");


		/// <summary>
		/// 任务参数，只有任务成功申请以后才会赋值
		/// </summary>
		public dynamic TaskParam { get; set; }
	}
}
